<%-- 
    Document   : 5_tabMenu
    Created on : Oct 17, 2011, 4:53:19 PM
    Author     : Administrator
--%>

<%@page import="dao.DanhMuc_DAO"%>
<%@page import="pojo.Danhmuc"%>
<%@page import="java.util.ArrayList"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<div class="div_TabMenu" style="width:717px;">
    <div id="div_aTabMenu" class="div_aTabMenu">
       
            <%
                ArrayList<Danhmuc> ds = new ArrayList<Danhmuc>();
                ds = DanhMuc_DAO.layDanhSachDanhMuc();
                for (int i = 0; i < ds.size(); i++) {
                    Danhmuc item = new Danhmuc();
                    item = ds.get(i);
            %>
            <a href='xl_DealTheoDanhMuc?Action=view&ID=<%=item.getId()%>' class='aTabmenuOff'>
                <div class='div_LeftTabMenu'></div>
                <div class='div_BodyTabMenu div_aTabIndex'><%=item.getTenDanhMuc()%></div>
                <div class='div_RightTabMenu'></div>
            </a>
          
            <%}%>
      
                <a href='' class='aTabmenuOff'>
                    <div class='div_LeftTabMenu'></div>
                    <div class='div_BodyTabMenu div_aTabIndex'>Nhiều Hơn</div>
                    <div class='div_RightTabMenu'></div>
                </a>
           
            <a href='http://www.nhommua.com/TroGiup.aspx' class='aTabmenuOff'>
                <div class='div_LeftTabMenu'></div>
                <div class='div_BodyTabMenu aTabTroGiup'>?</div>
                <div class='div_RightTabMenu'></div>
            </a>
       
    </div>            

</div>